package com.thinkgem.jeesite.common.utils.wx;

import javax.servlet.http.HttpServletRequest;

public class WEIXINParams {

	public static String getRemortIP(HttpServletRequest request ) {
		if (request.getHeader("x-forwarded-for") == null) {  
			return request.getRemoteAddr();  
		}
		return request.getHeader("x-forwarded-for");  
	}
}
